//
//  HeadView.m
//  JZRJAPPT
//
//  Created by mac on 16/5/9.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "HeadView.h"

@implementation HeadView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        UILabel *xinLable =[[UILabel alloc]init];
        xinLable.frame =CGRectMake(SCREEN_WIDTH, 10, 60, 30);
        xinLable.text = @"最新";
        xinLable.backgroundColor = [UIColor redColor];
        
        
        UIView *view = [[UIView alloc]initWithFrame:CGRectMake(SCREEN_WIDTH +61, 10, 1, 30)];
        

        UILabel *zhangLable =[[UILabel alloc]init];
        zhangLable.frame = CGRectMake(SCREEN_WIDTH +61, 10, 60, 30);
        zhangLable.text = @"涨跌";
        
        UILabel *liangLable = [[UILabel alloc]init];
        
        liangLable.text = @"量化指数";
        
        [self addSubview:xinLable];
        [self addSubview:view];
        [self addSubview:zhangLable];
        [self addSubview:liangLable];
        
        
    }
    return self;
}

@end
